<?php 
	$this->load->view('header');
	$this->load->view('banner');
	$this->load->view('content_style');
?>
<?php	
	
	switch ($event) 
	{
		case 'view':
			$this->load->view('cat_news_view/cat_news_listview');
			break;			
		case 'add':
			$this->load->view('cat_news_view/cat_news');
			break;
		case 'edit': 
			$this->load->view('cat_news_view/cat_news');
			break;
		case 'update_add': 
			$this->load->view('cat_news_view/cat_news');
			break;		
		case 'update_edit': 
			$this->load->view('cat_news_view/cat_news');
			break;
			

		default:
			echo $event . 'invalid event view site. please cotact with admin site for more informations';
	}
?>
<?php	
	$this->load->view('content_style_end');	
	$this->load->view('footer');
?>